package com.ctakit.kiwi.common.core.bean;

import java.util.List;

/**
 * Selector response to select some properties from a java bean.
 *
 * @author lizhenmin
 */
public interface Selector<T> {

    /**
     * Select a list from the list of java bean.
     */
    List<T> select(List<?> from);

    /**
     * select from the java bean.
     */
    T select(Object item);

}
